<?php
require('config.php');

        $orderId=$_REQUEST['orderId'];
		$sql="select *,".$oto."_refund.time as tk_time from `".$oto."_orders`,`".$oto."_refund`,".$oto."_shops where ".$oto."_orders.orderId='{$orderId}' and ".$oto."_orders.orderId=".$oto."_refund.orderId and ".$oto."_orders.shopId=".$oto."_shops.shopId";
		$result=$db->query($sql);
		
		file_put_contents('get_tuikuan_xx.txt',var_export($result,true));

		while($row=$result->fetch_assoc()){
			$person_info[]=$row;//将取得的所有数据赋值给person_info数组
		}
		echo json_encode($person_info);
?>